package com.org.service;

import com.org.common.PageBean;
import com.org.pojo.Banner;

import java.util.List;

/**
 * ClassName: BannerService
 * Package: com.org.service
 * Description:
 *
 * @Author Origin
 * @Create 2024/2/24 22:01
 * @Version 1.0
 */
public interface BannerService {

    //添加Banner
    void add(Banner banner);

    //删除banner
    void delete(Integer id);

    //查看banner详细信息
    Banner detail(Integer id);

    //更新banner
    void update(Banner banner);

    List<Banner> list();

    //获取所有横幅
    PageBean<Banner> allList(Integer pageNum, Integer pageSize, String title, String content, String communityId);
}
